#pragma once
#include "hge.h"  
#include "hgeSprite.h"  
//#include "Role.h"
//#include "Map.h"
#include<iostream>
#include<string>
#include<iostream>
using namespace std;
class Map;
class Role;
class ObjectManager;
class Event{
public:
	Map* map;
	Role* role; 
	ObjectManager* Omgr;
	Event(){};
	virtual void Initial(ObjectManager* mgr);
	virtual string getWarn();
	virtual void happen();
};
class TuoXieEvent:public Event{
	virtual string getWarn();
	virtual void happen();
};
class GetPointEvent:public Event{
public:
	int point;
	GetPointEvent(int p){
		point=p;
	}
	virtual string getWarn();
	virtual void happen();
};